real-time export to mongo