grid calss updated