When user click on edit, it will render the data.