execute all hooks on patch