for edit data retrived