update ui for messaging.