measures to mongo now adds to mongodatabase; inserts as a batch