reformat migration urls