migrate published and not published