automatically migrate cpkin