update and edit view created