updating styles for text