Fix hook to use correct payload