updates content and font styles