Update gm.php