I am working on an express js application where I need to update a nested array of object, the issue is that when I try to update the data the first object updates while th