first update for lecture 5