updates for chatbox