change the code reflect the current tutorial (in wiki)