Update gjmain.php