Update css with classes instead of ids