I am planning to update multiple profiles at once. But, service.updateMetadata is taking only one profile to update.
MetadataServiceHelper.SaveResult[] deploymentStatus = service.updateMetadata(new MetadataServiceHelper.Metadata[]{profileDataToDeploy.values()[0]});
I want to update the whole values in the profileDataToDeploy map.