updated io configuration to use xhr-polling