With {{Version|8.5}}, the update expression was extended:
* In analogy with [[#transform with|transform with]], the updating expressions can now be – and should be – wrapped with curly braces. * More than one node can now be specified as source:
<pre class="brush:xquery">
db:open('data')//item update { delete node text()}
</pre>
* In analogy with [[#transform with|transform with]], the updating expressions can – and should – be wrapped with curly braces.
* Update expressions can now be chained: