update styles and locales