def update(self, request, pk=None):
        user = User.objects.get(pk=pk)
        serializer = UserSerializer(user, data=request.data)
        if serializer.is_valid():
            serializer.save()
        return send_response(request.method, serializer)
L{INewsStorage.postRequest} posts the message if it includes an
dataset/ETHPy150Open CiscoSystems/cognitive/cognitive/app/api/users.py/UserViewSet.update--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/news/test/test_database.py/ModerationTestsMixin.test_postApproved