updated mongo_pipeline, added methods