layer.removeGridSubset(oldGridSetName);
layer.addGridSubset(newGridSubset);
Configuration config = tld.getConfiguration(layer);
config.modifyLayer(layer);
saveConfigurations.add(config);
}
for (Configuration config : saveConfigurations) {
config.save();