add document for task.