getting entered details on edit page