def update(value, iterable=None, **kwargs):
    """
    Insert ``key: value`` pairs into the report

    :param value: data chunk to operator on
    :type value: :py:class:`dict` or :py:class:`~collections.Mapping`
    :param iterable: iterable of ``(key, value)`` pairs
    :type iterable: iterable[(str, T)]
    :param kwargs: explicit ``key=value`` parameters
    """
    value = value.copy()
    if iterable:
        value.update(iterable, **kwargs)
    else:
        value.update(**kwargs)
    return value