update index spacing