Upgrade db to know the unique id is the package name now