making the edit form do put properly