Refactoring answer#edit