Update query syntax handle