updates styles for messages and names list