edit view is called when you click on edit btn