Update dependencies and added session example.

Update dependencies and added session example.