fix for save note in update mode