Update Lecture code