Update UI and create chat box