generate.php update again