Update the session config