code: func (c *coordinator) UpdateState(s updateCoordinatorState) error {
  	c.configLock.Lock()
  	c.config["STATE"] = string(s)
  	c.configLock.Unlock()
  
  	return c.writeConfig()
  }
docs: // UpdateState updates the state the update coordinator claims to be in