primer: refactor content migration task