next package migration