@Override
	public boolean applyTo(Program program) {
		try {
			program.getExternalManager().updateExternalLibraryName(oldName, newName, source);
			return true;
		}
		catch (DuplicateNameException e) {
			status = newName + " already exists";
		}
		catch (InvalidInputException e) {
			status = e.getMessage();
		}
		return false;
	}
Constructs a new command for updating the name of an external program.
@param oldName the current name of the external program link.
@param newName the new name to be used for the external program link.
@param source the source of this external name
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/refs/UpdateExternalNameCmd.java