update styles and html structure