Update grid spacing