updated the grid table