# system.kanoa.quality.config.updateAttribute(attrInfo, userId)

Updates an attribute. All attrInfo keys are required.

---
### Parameters
**attrInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - attributeDescription</td><td>String</td><td></td></tr>	
 	<tr><td> - attributeId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - attributeName</td><td>String</td><td></td></tr>	
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - parentId</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />

---
### Example
```python
attrInfo = {'attributeId': 67, 'attributeName': 'some attribute name', 'attributeDescription': 'some description', 'parentId': 6, 'enabled': True}
userId = 5
attributeIid = system.kanoa.quality.config.updateAttribute(attrInfo, userId)
```
