Update ProxyFactory.php