Update apply.php