def METHOD_NAME(current, updated):
    """
    Updates the nested dictionary current with the nested dictionary updated.
    If key exists both in current and updated, the value from updated is written to current
    If key doesn't exist in current, then a new key value pair is created
    Args:
        current: The nested dictionary to be updated
        updated: The nested dictionary with values to be updated to current
    """
    for key in updated:
        if isinstance(updated[key], str) or isinstance(updated[key], list):
            current[key] = updated[key]
        elif key in current:
            METHOD_NAME(current[key], updated[key])
        else:
            current.update({key: updated[key]})