Update some queries.