update lecture 22