Update gate3way.php