queuedRuns now gets updated in the database