(ISSUE-8---add-edit) got edit working