update form and controllers to work for edit and create