changed edit.html.erb to record stuff