update lec12 after class