# system.kanoa.lot.updateLot(lotInfo, userId)

Updates a lot

---
### Parameters
**lotInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - itemId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - itemUnitId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - lotId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - lotName</td><td>String</td><td></td></tr>	
	</tbody>
</table>

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

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

---
### Example
```python
lotInfo = {'lotId': 1, 'lotName': 'Lot#2', 'itemId': 68}
userId = 123
retVal, msg = system.kanoa.lot.updateLot(lotInfo, userId)
print retVal, msg
```
