def update(self, instance: Transaction, validated_data):
     return instance.cancel(**validated_data)