finish edit form