update HPM hooks.