Other tweaks for hooks

Signed-off-by: emanuele <emanuele45@gmail.com>
Split topics interface didn't work in postgre

Signed-off-by: emanuele <emanuele45@gmail.com>