edit form and views