updating reference to session instance2