update styles and methods