code: def update(self, session_id: str):
      with self.lock:
          if session_id in self.session_data:
              self.session_data.move_to_end(session_id)
          if len(self.session_data) > self.capacity:
              self.session_data.popitem(last=False)
  
file_path: gradio/gradio/state_holder.py
imports: from __future__ import annotations
  import threading
  from collections import OrderedDict
  from copy import deepcopy
  from typing import TYPE_CHECKING, Any
label_desc: Use image node_id 5 for calling the StateHolder obj's underlying member method code with example usage: obj.update(session_id) without return types