Update publish task.