refactored edit.html.erb and edit/update methods