update the styles