few updates for chat plugin