update publish task