modify word set-hook to set-hooks