update grid & minified grid