modify action_hooks