update typography headings function