DRY refactor of /update/:uid
DRY route handling with a commonResponse function
app.js cleanup and new builds