I use the following code for the name display of my target:
[ShortClassification:DifficultyColor Level:DifficultyColor] [Name:HostileColor] [(AFK or DND):Angle]
What this does is return a level colored by its level compared to mine and the name colored by its hostility.
So a neutral spore bat would be: 65 Sporebat with the level green and the name yellow.
When I attack the spore bat, it changes from neutral to hostile, but the target unit frame does not update - the name remains yellow.
Is it possible to have the code i've provided above edited so that the target's name will recolor if the hostility level changes (i.e. attacking an neutral turns from yellow to red).