update the lecture 7-8