update nDimention