def deep_update(d, d_update):
    """
    Updates the values (deep form) of a given dictionary

    Parameters:
    -----------
        d : dict
            dictionary that contains the values to update
        d_update : dict
            dictionary to be updated
    """
    for k, v in list(d_update.items()):
        if isinstance(v, dict):
            if k in d:
                deep_update(d[k], v)
            else:
                d[k] = v
        elif isinstance(d, list):
            d.append({k: v})
        else:
            d[k] = v
    return d