def METHOD_NAME(self, db_map_data):
    """Updates model according to data received from database manager.
    Args:
        db_map_data (dict): updated metadata items keyed by database mapping
    """
    for items in db_map_data.values():
        items_by_id = {item["id"]: item for item in items}
        updated_rows = []
        for row_index, row in enumerate(self._data):
            if row[ExtraColumn.ID] is None:
                continue
            db_item = items_by_id.get(row[ExtraColumn.ID])
            if db_item is None:
                continue
            if row[Column.NAME] != db_item["name"]:
                row[Column.NAME] = db_item["name"]
                updated_rows.append(row_index)
            if row[Column.VALUE] != db_item["value"]:
                row[Column.VALUE] = db_item["value"]
                updated_rows.append(row_index)
        if updated_rows:
            top_left = self.index(updated_rows[0], 0)
            bottom_right = self.index(updated_rows[-1], Column.DB_MAP - 1)
            self.dataChanged.emit(top_left, bottom_right, [Qt.ItemDataRole.DisplayRole])