[MOD] XQuery: adopt updates and outputs from parent query context
[ADD] XQuery, xquery:update() (#878)