updates for hooks that matter, removes deprecated hook