[WIP][TASK] Upgrade wizard for package states migration

Change-Id: I440322920c7c0f265a2ecfce5775b4cb9e306c4d