Update Application.class.php