def METHOD_NAME(default_dict, user_dict):
    for k, v in user_dict.items():
        if isinstance(v, Mapping):
            default_dict[k] = METHOD_NAME(default_dict.get(k, {}), v)
        else:
            default_dict[k] = v
    return default_dict