Update advancedsearch.php