updated chat, mongoose, etc