Updated migrate db task