Updating batch queries.