add migrate info function