updated application.php