update font size and opacity