Update check_availability.php