Update Chat.php