update css effect