Update chat.xhtml