Update session file.