Correction of documentation to database event hooks

Signatures of some callbacks differed from documentation.