# system.kanoa.item.updateItemStateField(itemStateId, field, value, userId)

Updates the passed field value for the given itemStateId. If the field is enabled, we will update the assetLink Table

---
### Parameters
**itemStateId** `Integer`: Id of the item state to update<br />
**field** `String`: Valid options are itemStateName, itemStateClassId, counterTypeId, enabled<br />
**value** `pyObject`: Value to update<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
updatedItemId = system.kanoa.item.updateItemStateField(1, 'itemStateName', 'QA Hold', 1)
```
