updates the grid system in CSS