with the current sdk its not possible to do that with a plugin.
The putting the text in the displayname isnt a big deal.. but the refreshing is. its not possible to let a plugin do something when there is NO interaction form either the remote user or local user.
so to accomplish that you'll have to hook Messenger by yourself