diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index d95af7f0eedc96f1ac263b33c7bb620fce57c2e6..cef28883f5b92ba6e22563c9416f24ddc5f16749 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -729,7 +729,7 @@ class Crawler(object):
         parent_updates = db.Container()
 
         for entity in to_be_updated:
-            old_entity = cached_get_entity_by(id=entity.id)
+            old_entity = cached_get_entity_by(eid=entity.id)
 
             # Check whether the parents have been changed and add them if missing
             # in the old entity: