Update document template using zoho.sign.updateDocument

Update document template using zoho.sign.updateDocument

I can't find a complete example on the structure to update an existing document in Zoho Sign using zoho.sign.updateDocument. I am calling this function from a Zoho Creator Function. 

What I want to update is document data and they are text, boolean, and date type fields.