color class update