Moved helper for clarity
updateNoteProperties function