updated both grids