updating app.php