Change the queries