TODO: figure out how to instantiate a new pointer for db.Upsert to save a new document into mongodb