How to reload the shortcode content when the database is changing

Shortcodes don’t need to be refreshed, they aren’t cached.

Instead it sounds like you have either CDN, page, browser, or database caching. Check for caching plugins that need clearing, and flush any CDN caches you might have.