Why isn't my variant quantity updating without manual page refresh?

Please help me with this.

VARIANT QUANTITY IS NOT UPDATED UNTIL MANUALLY REFRESH THE PAGE.