update spacing and content