diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index 41063f166df82901b9d91125c2d0dad82e3adcc7..5f584f210ce8934a8c611f966faea1f083539de6 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: