modified migration for objects