update check.php