Update Status for Automatic Work Item

The UpdateWorkItem method can update the status for an automatic work item if the status is Canceled, Completed, Overdue, Running, or Waiting.