change session generation