diff --git a/app/views/problems/edit.html.erb b/app/views/problems/edit.html.erb
--- a/app/views/problems/edit.html.erb
+++ b/app/views/problems/edit.html.erb
@@ -1,9 +1,9 @@
Editing problem
-<%= form_tag({action: 'update', id: @problem},multipart: true) do %>
+<%= form_for @problem,url:{action: 'update'},html: {multipart: true} do %>
<%= render :partial => 'form' %>
<%= submit_tag 'Edit' %>
<% end %>
<%= link_to 'Show', :action => 'show', :id => @problem %> |
-<%= link_to 'Back', :action => 'list' %>
+<%= link_to 'Back', problems_path %>