update Session.php