Change contour plot Z data with slider

Hello,

I basically want to have a contour plot, and with a slider, to change the input data.

It works on line charts, as seen in: https://codepen.io/plotly/pen/NbKmmQ

I modified the pen, to make changes with the slider, to a contour plot, but nothing happens.

https://codepen.io/liviuoana88/pen/jOQgPoP

Any help is appreciated. Thanks.