modification_hooks: use modification info from the database