for xquery updates