update the queries to include run_id and total_hosts