update session infomation.