for edit data