clean method to add historical tags to mongo