updating structure of data migration