update migration and run migration