Update tutorial and example.