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">
(<root1root/>, <root2/>) update {
insert node <child/> into .
} update {