updates styles, updates content for styles