Update check-exists.php