Finished queries for updated and deleted queries.