Add update route and update method in TodosController.