Connected add hooks to new_hooks table