Update code of tutorial series