adding edit view