Unable to upsert record in pinecone

Hi Team,
I am simply trying to update record in pinecone using NodeJS. I am using below library to update the record in pinecone. I am not getting any error code in response but my data is no getting updated in pinecone. Am I missing anything here while updating my vector data in pinecone?

Below is a code snippet I am using for update. Your quick assistance on this will be highly appreciated. Thank you.

import { Pinecone } from “@pinecone-database/pinecone”;
await pineconeIndex.update({
id: myId,
metadata: {
age: 28