Updating the color of a polygon on a choropleth_mapbox map on click

Hi,
I would like to update the color of a polygon on click. For the moment, I managed to make the ‘click’ event works, here’s the data I have for example :{‘points’: [{‘curveNumber’: 5, ‘pointNumber’: 0, ‘pointIndex’: 0, ‘location’: ‘44’, ‘z’: 1, ‘hovertext’: ‘Grand Est’, ‘customdata’: [‘44’, ‘Grand Est’]}]}

I could reload the whole map easily with a different colour but is there a way to update a specific polygon of the existing map ?