def METHOD_NAME(self, request, pk):
    instance = self.get_object(pk)
    serializer = InstanceDetailSerializer(instance, data=request.data)
    if serializer.is_valid():
        serializer.save()
        return Response(serializer.data)
    return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)