update notes structure