bug with grid update fixed