Change the query to updates