Add put /todos/:id route. Define update action in todos_controller.rb file. Change placeholder to value in edit.html.erb file and add hidden input.