update migrator and test case