Update GeneratorFactory.java