Updated hook handler again.