update styles and JS