Updates to the query