<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _send_update(self, data):
 """Send a NetworkTables update via the stored send_update callback"""

        if isinstance(data, dict):
            data = json.dumps(data)
        self.update_callback(data)