implement edit_note in UI