update patch task.