update edit form to add put method