Despite explicitly renaming all child nodes of <doc/>, the former <a/> element is the only one to be renamed. The <b/> element is inserted within the same snapshot and is therefore not yet visible for the user.
[[Update#Returning Results|Returning Results]] shows how to return access updated nodes and return query results.
===Returning Results===