def METHOD_NAME(self, container, representation):
    # type: (dict, dict) -> None
    """Update container with specified representation."""
    cmds.loadPlugin("MultiverseForMaya", quiet=True)
    import multiverse
    node = container['objectName']
    assert cmds.objExists(node), "Missing container"
    members = cmds.sets(node, query=True) or []
    shapes = cmds.ls(members, type="mvUsdCompoundShape")
    assert shapes, "Cannot find mvUsdCompoundShape in container"
    mvShape = container['mvUsdCompoundShape']
    assert mvShape, "Missing mv source"
    project_name = representation["context"]["project"]["name"]
    prev_representation_id = cmds.getAttr("{}.representation".format(node))
    prev_representation = get_representation_by_id(project_name,
                                                   prev_representation_id)
    prev_path = os.path.normpath(prev_representation["data"]["path"])
    path = get_representation_path(representation)
    for shape in shapes:
        asset_paths = multiverse.GetUsdCompoundAssetPaths(shape)
        asset_paths = [os.path.normpath(p) for p in asset_paths]
        assert asset_paths.count(prev_path) == 1, \
            "Couldn't find matching path (or too many)"
        prev_path_idx = asset_paths.index(prev_path)
        asset_paths[prev_path_idx] = path
        multiverse.SetUsdCompoundAssetPaths(shape, asset_paths)
    cmds.setAttr("{}.representation".format(node),
                 str(representation["_id"]),
                 type="string")
    mel.eval('refreshEditorTemplates;')