<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_shipment(self, resource_id, data):
 """Update the tracking information of a shipment."""

        return Shipments(self.client).on(self).update(resource_id, data)