update lecture 24