Well, that is why it is important that you have a solution that actually populates and updates with the actual information that is shown all the time on the website rather than static option. Maybe for static page like an FAQ or a Q&A or something that never changes. It might be okay to hard code the structured data, but, if it is content that is dynamic and is changing all the time, very sensible to be changing the status. Then is important that the code populates from the actual information that is shown to the user and if the information that has changed, if the content, if the price of the product has been updated, if there is an update in the ratings of the reviews, if there is an update in the stock, that is reflected and updated also in the code and how it is populated and updated also accordingly, not only when you update that information with the information that is updated on the page, doesn't only update on the text, on the information, the content, but also on the structured data, the Schema that is generated for that page also.