Updating session file