Update the tutorial and the example for the `session' changes