def change_labels(labels, cluster_name, idx_to_change, target_labels):
    """Helper function to change specific labels for a specific cluster/class
    and replace them with values provided as `target_labels`

    Args:
        labels (array):
            Collection of labels as strings
        cluster_name (str):
            Cluster/class that will be modified
        idx_to_change (array):
            Collection of idices with labels to be updated.
        target_labels (array):
            Collection of target labels to be used with `idx_to_change`

    Returns:
        array: Updated labels array
    """
    assert(type(idx_to_change) == list)
    assert(type(target_labels) == list)
    assert(len(idx_to_change) == len(target_labels))

    sub_list = labels[labels == cluster_name]

    for idx, target in zip(idx_to_change, target_labels):
        sub_list[idx] = target

    labels[labels == cluster_name] = sub_list

    return labels