Updates the styles