          partial = kwargs.pop('partial', False)
          instance = self.get_object()
          serializer = self.get_serializer(instance, data=request.data, partial=partial)
          serializer.is_valid(raise_exception=True)
          self.update_valid(serializer)
          return Response(serializer.data)
  
      def update_valid(self, serializer):
          serializer.save()
  
 
</s> remove     def update_valid(self, serializer):
 </s> add     def preform_update(self, serializer): </s> remove         self.create_valid(serializer)
 </s> add         self.perform_create(serializer) </s> remove     def create_valid(self, serializer):
 </s> add     def perform_create(self, serializer): </s> remove         instance.delete()
 </s> add         self.perform_destroy(instance)
        self.preform_update(serializer)
          partial = kwargs.pop('partial', False)
          instance = self.get_object()
          serializer = self.get_serializer(instance, data=request.data, partial=partial)
          serializer.is_valid(raise_exception=True)
        self.preform_update(serializer)
          return Response(serializer.data)
  
      def update_valid(self, serializer):
          serializer.save()
  
keep keep keep keep replace keep keep keep keep keep
 Tweak pre/post save hooks. Return instance in .update(). 
rest_framework/mixins.py