modified code in PUT request. When job is not in Queued or Retry state, any request to update the contents are rejected.