code: func (m *Client) UpdatePod(podName string, pod *client.Pod) (*client.Pod, error) {
  	p, ok := m.Pods[podName]
  	if !ok {
  		return nil, api.ErrNotFound
  	}
  
  	updateMetadata(p.Metadata, pod.Metadata)
  
  	pstr, _ := json.Marshal(p)
  
  	m.events <- watch.Event{
  		Type:   watch.Modified,
  		Object: json.RawMessage(pstr),
  	}
  
  	return nil, nil
  }
docs: // UpdatePod ...