modify session configuration