Update migrator.js