XQuery Update does not allow returning results from an updating query. You can however use BaseX's proprietary update:output($seq)
function to do that:
for $prop in /Root/Elem/properties/property[@id='17']
let $format := $prop/@format
return (replace value of node $format with 'URL', update:output($format))