<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_domain_smarthost(self, domainid, serverid, data):
 """Update a domain smarthost"""

        return self.api_call(
            ENDPOINTS['domainsmarthosts']['update'],
            dict(domainid=domainid, serverid=serverid),
            body=data)