def METHOD_NAME(self, **kwargs: dict):
    """
    Update the parameters of a :class:`.Distributions` object.
    To update the parameters of a :class:`.JointIndependent` or a :class:`.JointCopula` distribution, each parameter
    is assigned a unique string identifier as :code:`key_index` - where :code:`key` is the parameter name and
    :code:`index` the index of the marginal (e.g., location parameter of the 2nd marginal is identified as
    :code:`loc_1`).
    :param kwargs: Parameters to be updated
    :raises ValueError: if *kwargs* contains key that does not already exist.
    """
    # check arguments
    all_keys = self.get_parameters().keys()
    # update the marginal parameters
    for key_indexed, value in kwargs.items():
        if key_indexed not in all_keys:
            raise ValueError("Unrecognized keyword argument " + key_indexed)
        key_split = key_indexed.split("_")
        key, index = "_".join(key_split[:-1]), int(key_split[-1])
        self.marginals[index].parameters[key] = value