Update Session class.