update run_query.php