--- a/scripts/migrations/016-add-trove-category-lppl.py
+++ b/scripts/migrations/016-add-trove-category-lppl.py
@@ -10,32 +10,32 @@
 log = logging.getLogger(__name__)
 
 def main():
-    M.TroveCategory(trove_cat_id=655,
+    M.TroveCategory(trove_cat_id=862,
                     trove_parent_id=14,
                     shortname="lppl",
                     fullname="LaTeX Project Public License",
                     fullpath="License :: OSI-Approved Open Source :: LaTeX Project Public License")
-    M.TroveCategory(trove_cat_id=862,
+    M.TroveCategory(trove_cat_id=655,
                     trove_parent_id=432,
                     shortname="win64",
                     fullname="64-bit MS Windows",
                     fullpath="Operating System :: Grouping and Descriptive Categories :: 64-bit MS Windows")
-    M.TroveCategory(trove_cat_id=862,
+    M.TroveCategory(trove_cat_id=657,
                     trove_parent_id=418,
                     shortname="vista",
                     fullname="Vista",
                     fullpath="Operating System :: Modern (Vendor-Supported) Desktop Operating Systems :: Vista")
-    M.TroveCategory(trove_cat_id=862,
+    M.TroveCategory(trove_cat_id=851,
                     trove_parent_id=418,
                     shortname="win7",
                     fullname="Windows 7",
                     fullpath="Operating System :: Modern (Vendor-Supported) Desktop Operating Systems :: Windows 7")
-    M.TroveCategory(trove_cat_id=862,
+    M.TroveCategory(trove_cat_id=728,
                     trove_parent_id=315,
                     shortname="android",
                     fullname="Android",
                     fullpath="Operating System :: Handheld/Embedded Operating Systems :: Android")
-    M.TroveCategory(trove_cat_id=862,
+    M.TroveCategory(trove_cat_id=780,
                     trove_parent_id=315,
                     shortname="ios",
                     fullname="Apple iPhone",