Update sgg.php