grid mode update