Update tutorials to latest API