Changes in the migration script.

Use QubitPdo to do the update, get users and groups
menu ids from the database.