update styles and title