I want to execute three queries in a specific order. The first query updates a range of date fields, the second query updates a single field based on the results of the firs