<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_refund(self, refund_id, refund_deets):
 """Updates an existing refund transaction."""

        request = self._put('transactions/refunds/' + str(refund_id), refund_deets)
        return self.responder(request)