Updated TopologyInstance.java