Update note data structure.