save: edit button working