tutorial update, minor typo fixed in code