Update grid sizes