'Update the volume_model_updates with admin metadata.
:param volumes_model_update: List of volume model updates
:param key: Key to be updated in the admin_metadata
:param values: Dictionary of values per volume id'

@staticmethod
def update_admin_metadata(volumes_model_update, key, values):

    for volume_model_update in volumes_model_update:
        volume_id = volume_model_update['id']
        if (volume_id in values):
            admin_metadata = {}
            admin_metadata.update({key: values[volume_id]})
            volume_model_update.update({'admin_metadata': admin_metadata})
