complete model migration