Update validate.php