update the spacing