updated query5.php