Update FactoryParser.java