# system.kanoa.dashboard.updateMarqueeDisplay(marqueeDisplayInfo, userId)

Updates a marquee display

---
### Parameters
**marqueeDisplayInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - location</td><td>String</td><td></td></tr>	
 	<tr><td> - marqueeDisplayId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - marqueeId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - screenName</td><td>String</td><td></td></tr>	
 	<tr><td> - siteCode</td><td>String</td><td></td></tr>	
 	<tr><td> - theme</td><td>String</td><td>i.e. 'kanoa dark'</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
marqueeDisplayInfo = {
  "marqueeDisplayId": 1,
  "marqueeId": 12,
  "siteCode": 'Texas',
  "location": 'Break Room',
  "screenName": 'TV1',
  "enabled": True
}
userId = 123
marqueeDisplayId, msg = system.kanoa.dashboard.updateMarqueeDisplay(marqueeDisplayInfo, userId)
if msg:	system.perspective.sendMessage('showFailerToast', msg)
else: system.perspective.sendMessage('showSuccessfulToast', 'Marquee display has been updated')
```
