update a stateful session example.