Updates a maintenance type. All maintenanceTypeInfo keys are required unless otherwise stated

---
### Parameters
**maintenanceTypeInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td>Not required. Set to True if not passed</td></tr>	
 	<tr><td> - maintenanceTypeColor</td><td>String</td><td>Not required. i.e '#FF000'</td></tr>	
 	<tr><td> - maintenanceTypeId</td><td>Integer</td><td>Id of the maintenance type to update</td></tr>	
 	<tr><td> - maintenanceTypeName</td><td>String</td><td>Name of type</td></tr>	
 	<tr><td> - serialId</td><td>Integer</td><td>Not required. Uses maintenanceWorkorder serial Id if not set</td></tr>	
	</tbody>
</table>

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

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

---
### Example
```python
# Update an existing maintenance type's color and confirm it stays enabled
maintenanceTypeInfo = {
                        "maintenanceTypeId": 3,
                        "maintenanceTypeName": "Mechanical",
                        "maintenanceTypeColor": "#FF0000",
                        "enabled": True
                    }

userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
recordsModified, message = system.kanoa.cmms.updateMaintenanceType(maintenanceTypeInfo, userId)
print recordsModified, message
```
