updates grid css