add test for grid update