update history text color