update app.coffee