updating grids etc