finished inserting into mongo