scripts: Fix the critpath attribute of updates

After the previous database migrations, all updates got their critpath
status reset to False. Oops!

This script will fix this.

It can be interesting in the future, so let's make it a nice pyramid
script.