Add Populate function to insert data in MongoDb