Modifying an Existing License Key
Existing license keys can not be modified, they are immutable. So when your app is hosted under a new URL, or you add an additional staging environment, you can not add these URLs to an existing license keys.
Consider creating license keys per environment and provisioning them dynamically to your application. You can create any number of license keys in your account, and you can always delete an existing license key if for instance you mistyped the URL.