Fixed updating existing notes.