In my application I have an Array of Objects, The type of all objects will be always same but unknown but I need to update one property of object of array based on some con