revise the nsq to mongo