update styles component