-edit button working