create edit view