Updates to the queries