Update check.php