# system.kanoa.serial.updateSerialNumber(serialInfo, serialValue, userId)

Updates a serial number template. All serialInfo keys are required unless otherwise stated.

---
### Parameters
**serialInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td>Not required. If not specified, will be set to true</td></tr>	
 	<tr><td> - prefix</td><td>String</td><td>Adds a prefix to the serial number i.e. 'KAN....'. Not required</td></tr>	
 	<tr><td> - serialId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - serialName</td><td>String</td><td></td></tr>	
 	<tr><td> - suffix</td><td>String</td><td>Adds a suffix to the serial number i.e. '... A'. Not required</td></tr>	
 	<tr><td> - zfill</td><td>Integer</td><td>Adds leading zeros to the number. Not required. If not specified, no zeros will be added</td></tr>	
	</tbody>
</table>

**serialValue** `Integer`: Starting value for serialization. Not required.<br />
**userId** `Integer`:Id of the user executing the function<br />

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

---
### Example
```python
serialInfo = {'serialId': 3, 'serialName': 'lpn', 'prefix': 'KAN',	'zfill': 6, 'suffix': '-A', 'enabled': True}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
retVal, msg = system.kanoa.serial.updateSerialNumber(serialInfo, userId)
print retVal, msg
>>> 1, None
```
