code: func updateServiceLastReported(ds models.DeviceService, lr int64, w http.ResponseWriter) error {
  	ds.LastReported = lr
  	if err := dbClient.UpdateDeviceService(ds); err != nil {
  		http.Error(w, err.Error(), http.StatusServiceUnavailable)
  		return err
  	}
  
  	return nil
  }
docs: // Update the last reported value for the device service