change the migrate way