Update queries.inc.php