adding the edit view