update app.php