Refactoring update colors for quality and error messages