update session file