added edit view.