Update ProxyFactory.java