Update fid mapping for a session. Called when a session's fid changes.
The session to update
The previous fid (if any)