updating reference to session instance