update ruler colors