Add/update new note code