update styling for tooltip text