update chat.rb, may need to roll this one back