Update Chat.js