code: func (cmd *UpdateFolderCommand) UpdateDashboardModel(dashFolder *Dashboard, orgId int64, userId int64) {
  	dashFolder.OrgId = orgId
  	dashFolder.Title = strings.TrimSpace(cmd.Title)
  	dashFolder.Data.Set("title", dashFolder.Title)
  
  	if cmd.Uid != "" {
  		dashFolder.SetUid(cmd.Uid)
  	}
  
  	dashFolder.SetVersion(cmd.Version)
  	dashFolder.IsFolder = true
  
  	if userId == 0 {
  		userId = -1
  	}
  
  	dashFolder.UpdatedBy = userId
  	dashFolder.UpdateSlug()
  }
docs: // UpdateDashboardModel updates an existing model from command into model for update