update the migrate