update some of the session logic