With the latest release of Ongoing subscriptions for Shopify, merchants are now able to set their code snippets to automatically update. This will allow you to receive the latest changes to the subscription widget, and customer portal without having to do anything.
To enable this, first visit your Ongoing settings screen. Then, under the Product Widget settings section you just need to be sure that you have the “Enable Automatic Updates” box checked. Save your changes and voila!