update lecture 8 notes