grid spacing update