add stats to mongodb