# system.kanoa.quality.sheet.updateFile(chkShtId, fileName, fileBlob, description, thumbnail, userId)

Updates a file for a chksheet.

---
### Parameters
**chkShtId** `Integer`: Id of check sheet<br />
**fileName** `String`: File name<br />
**fileBlob** `byteArray`: File data<br />
**description** `String`: Description of the file<br />
**thumbnail** `byteArray`: Thumbnail image<br />
**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**# of records created** `Integer`<br />

---
### Example
```python
chkShtId = 56
fileName = "example_file.txt"
fileBlob = b'This is the file content.'
description = "Example file description."
thumbnail = b'Thumbnail content.'
userId = 5
retVal = system.kanoa.quality.sheet.updateFile(chkShtId, fileName, fileBlob, description, thumbnail, userId)
```
