Driver does not update unless UI changes

I added driver to each channle of color of principled BSDF. variable is palette and path is colors[0].color[0/1//2] which means first color of palette.


Problem is when i change the palette color it does not update the shader color untill the i click on the shader color.


after clicking the color in shader editor it updates.


So is this expected behaviour? If i’m using other color property like custom or input rgb node to drive the bsdf color it updates automatically. I’m using blender 2.83.0.