Tidier layout of the database update script so that we can follow the database entries more easily.