changes on max migration number