Update Hooks.cpp