update codes and notes