code: @Override
  	public void updateContext() {
  
  		// Find the path to update
  		String newInstancePath = "/" + this.instancePath.replaceFirst( "/[^/]+$", this.newInstanceName );
  
  		Map<String,String> copy = new HashMap<>( this.context.instancePathToComponentName );
  		for( Map.Entry<String,String> entry : copy.entrySet()) {
  			if( ! entry.getKey().startsWith( this.instancePath + "/" )
  					&& ! entry.getKey().equals( this.instancePath ))
  				continue;
  
  			String updatedPath = entry.getKey().replace( this.instancePath, newInstancePath );
  			this.context.instancePathToComponentName.remove( entry.getKey());
  			this.context.instancePathToComponentName.put( updatedPath, entry.getValue());
  		}
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.core.commands.AbstractCommandInstruction#updateContext()