completing edit form