Implement edit action for the responses controller.