updated migration task for production environment