Update core/make_grid.php