update for app.js