Correct mistakes in notes and update diagram