Update lesson code