update styles and images