// update-configure - for each instance listed - instanceWithHostnameAndPort + updateValues
for (Enumeration e = instanceArray.objectEnumerator(); e.hasMoreElements(); ) {
NSDictionary anInst = (NSDictionary) e.nextElement();
String hostName = (String) anInst.valueForKey("hostName");
Integer port = (Integer) anInst.valueForKey("port");
MInstance anMInstance = aConfig.instanceWithHostnameAndPort(hostName, port);
// if I can't find the instance, I might be updating the port - in that case, look under the oldport number.
if (anMInstance == null) {
port = (Integer) anInst.valueForKey("oldport");
anMInstance = aConfig.instanceWithHostnameAndPort(hostName, port);
}