def METHOD_NAME(cls) -> None:
    bind = op.get_bind()
    session = db.Session(bind=bind)
    slices = session.query(Slice).filter(Slice.viz_type == cls.source_viz_type)
    for slc in paginated_update(
        slices,
        lambda current, total: print(
            f"  Updating {current}/{total} charts", end="\r"
        ),
    ):
        new_viz = cls.upgrade_slice(slc)
        session.merge(new_viz)