Session class updated