edited the app.js app.update edited to app.put