# system.kanoa.attribute.updateAttribute(attrInfo, userId)

Updates an attribute

---
### 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 user executing the function<br />

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

---
### Example
```python
attrInfo = {
  'attributeId': 1,
  'attributeName': 'some attribute name',
  'attributeDescription': 'some description',
  'parentId': 6,
  'enabled': True
}
userId = 123
modifiedRecords = system.kanoa.attribute.updateAttribute(attrInfo, userId)
```
