Updating grid.