change migration mode