migrate old packages to real packages