if ob_e != {}:
                query = {"$and": [{"identifier": {'namespace': 'inchikey', 'value': doc["InChI_Key"]}},
                                {"source": {"$elemMatch": ob_e["source"][0]}}]}
                self.obs_col.update_one(query,
                                        {"$set": {"genotype": ob_e["genotype"],