modify session