Update SIMGateway.php