layout migrate step n