Changes routes from index, edit to edit, update
Fixes permited actions