Update the upgrade script

- Add the package's description into the new DB
- Commit more often which avoids problem when rolling back (and thus missing data)