update spacing