updated chatbox for new UI build