code: def update_state_changes(self, state_changes_data: List[Tuple[str, int]]) -> None:
          
          cursor = self.conn.cursor()
          cursor.executemany(
              'UPDATE state_changes SET data=? WHERE identifier=?',
              state_changes_data,
          )
          self.maybe_commit()
docs: Given a list of identifier/data state tuples update them in the DB