implement edit action for the answers controller.