def update_dvportgroup(portgroup_ref, spec):
    '''
    Updates a distributed virtual portgroup

    portgroup_ref