small changes in migrate file