<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(self, domain, type_name, search_command, body):
 """Update entry in ThreatConnect Data Store Args: domain (string):
 One of 'local', 'organization', or 'system'. type_name (string):
 This is a free form index type name. The ThreatConnect API will use this resource verbatim. search_command (string):
 Search command to pass to ES. body (str):
 JSON body """

        return self._request(domain, type_name, search_command, 'PUT', body)