[Changed] wixData.update() is makng new item in DS why?

Thanks for replying.

I have done the changes as per your suggestion. But the problem I raised is still not solved. wixData.update() is still making new items in dataset.

Thanks.