Update register-app.php