updates for xquery 3.0 samples