update session config