docs: def change_state_id(self, state_id=None):
          """
          Changes the id of the state to a new id. This functions replaces the old state_id with the new state_id in all
          data flows and transitions.
  
          :param state_id: The new state if of the state
          """
          old_state_id = self.state_id
          super(ContainerState, self).change_state_id(state_id)
          # Use private variables to change ids to prevent validity checks
          # change id in all transitions
          for transition in self.transitions.values():
              if transition.from_state == old_state_id:
                  transition._from_state = self.state_id
              if transition.to_state == old_state_id:
                  transition._to_state = self.state_id
  
          # change id in all data_flows
          for data_flow in self.data_flows.values():
              if data_flow.from_state == old_state_id:
                  data_flow._from_state = self.state_id
              if data_flow.to_state == old_state_id:
                  data_flow._to_state = self.state_id