Embedded Gradio web component does not update

I embedded my app using gradio web component on my website. On my huggingface spaces, it is updated but in my embedded web component, it is showing an old version. I even create a new app using a new space with a new embed code, but my web component does not update.

It works with embed iframe. Iframe will show the latest, but once I switch to web component, the old app shows. What is happening?