updates to documentation for xquery