func (a *DataStreamGroupService) Update(dataStreamGroups *models.DataStreamGroup) error {
	revel.INFO.Println("updating data stream group", dataStreamGroups.ToString())
	count, err := persistence.Dbm.Update(dataStreamGroups)
	checkErr(err, "data stream group not updated "+dataStreamGroups.ToString())
	if count == 1 {
		return nil
	}
	return err
}
func (a *DataStreamGroupService) Save(dataStreamGroup *models.DataStreamGroup) *models.DataStreamGroup {
	revel.INFO.Println("saving data stream group", dataStreamGroup.ToString())
	persistence.Dbm.Insert(dataStreamGroup)
	return dataStreamGroup
}