Update the grid system