Update AbstractFactory.java