persist to mongo