refining publish task