change DB definition for hooked elements