Corrected mistakes on the edit form, controller