It would be handy if plugins had access to the method used by the installer/updatedatabase.pl, for the same use :-D