Minor fix to the hook update.