diff --git a/app/workers/thumbnail_generator_worker.rb b/app/workers/thumbnail_generator_worker.rb
index 379948c292fe8c788d1db07b08573ce5b040ca2b..a4c2d287d54112932f3e22369e6e1f6d406930c1 100644
--- a/app/workers/thumbnail_generator_worker.rb
+++ b/app/workers/thumbnail_generator_worker.rb
@@ -40,7 +40,7 @@ class ThumbnailGeneratorWorker
       end
     end
 
-    item_database_repository.update_property(item,"thumbnail",item.thumbnail)
+    learning_object_repository.update_property(item,"thumbnail",item.thumbnail)
 
   end