Fix bad call to update() in data migration

Before this change, I was trying to call update() on the class itself
and not on the objects. This fixes that and restores the data migration
to a working state again.