Update ProGateway.php