update to app.php