change session config