Changed publishing hook to published.