updated batch_mongo_insertion.py