update TaskObject