Added some of Session init, update functions