almost done with db upgrade script, not yet functional, should be safe if executed