update css rules