refine edit form