update notes and codes