# system.kanoa.performanceState.updatePerformanceStateField(performanceStateId, field, value, userId)

Updates the passed field value for the given performanceStateId. If the field is enabled, we will update the assetLink Table (kanoaOPS)

---
### Parameters
**performanceStateId** `Integer`: Id of the performance state to update<br />
**field** `String`: Valid options are performanceStateName, performanceStateClassId, performanceStateColor, enabled<br />
**value** `pyObject`: Value to update to<br />
**userId** `Integer`: Id of user executing the function<br />

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

---
### Example
```python
userId = 18
retVal, msg = system.kanoa.performanceState.updatePerformanceState(2, 'performanceStateClassId', 5, userId)
print retVal, msg
>>>
    1, None
```
