Update ObjectFactory.java