Removed Duplicate create_pins in migrate