update lessons for python