@classmethod
    def update_backends(cls, id_mapping, custom_trees):
        # Update the custom option entries for the current backend
        Store.custom_options().update(custom_trees)
        # Update the entries in other backends so the ids match correctly
        for backend in [k for k in Store.renderers.keys() if k != Store.current_backend]:
            for (old_id, new_id) in id_mapping:
                tree = Store._custom_options[backend].pop(old_id, None)
                if tree is not None:
                    Store._custom_options[backend][new_id] = tree
Given the id_mapping from previous ids to new ids and the new
dataset/ETHPy150Open ioam/holoviews/holoviews/core/options.py/StoreOptions.update_backends