update validation.php