I have an array of structures and I would like to compare two variables of structure with already existing structures in array if there is any match then just update certain