update css classes