Update the CCGrid.