Define 'updated' in put /users/:id/tasks
Move variable declaration in /users/:id/tasks
Remove extraneous line of code