I am trying to filter array of objects based on another array of objects and after finding all matching items I want to set property and value from the first array object in