def METHOD_NAME(self, kv_stub, request, response):
    prefix = "/update_cache/"
    title = request.uri[len(prefix) :]
    description = self._get_description(title)
    if description is None:
        response.status_code = HTTP.HttpStatusCode.BAD_GATEWAY
        response.body = f"Error when fetching article with title '{title}'".encode(
            "utf-8"
        )
    else:
        kv_stub.Put(
            KV.KVKeyValue(
                table=self.CACHE_TABLE,
                key=title.encode("utf-8"),
                value=description.encode("utf-8"),
            )
        )
        response.status_code = HTTP.HttpStatusCode.OK
        response.body = f"Successfully updated cache with description of '{title}':\n\n{description}".encode(
            "utf-8"
        )