Is there anyway to change material instance or texture with widget??

Hi, I was doing a widget to change material for over 30 meshes in runtime. Unfortunately, I can’t link them all to array in widget blueprint, so I just link them 1 by 1 as picture shown below just for one material. If I have to increase the number of meshes, it will be more complicate. I want to ask is there any method to change the parent of material instance or texture inside a material? So far, I only found a way to change colour parameter, but not texture. Thank in advance.