dynamic grid update