Fix Query.update parsing