code: def put(self, request, id, format=None):
          
          bot = self.get_bot(id, request.user)
          serializer = BotUpdateSerializer(bot, data=request.data)
          if serializer.is_valid():
              try:
                  bot = serializer.save()
              except:
                  return Response(status=status.HTTP_400_BAD_REQUEST)
              else:
                  return Response(BotSerializer(bot).data)
          return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
docs: Update an existing bot
          ---
          serializer: BotUpdateSerializer
          responseMessages:
              - code: 401
                message: Not authenticated
              - code: 400
                message: Not valid request