Locate the addon details modal component (likely in src/ directory). Identify where other action buttons (e.g., install, configure) are rendered. Add a new 'Upgrade' button with appropriate styling and logic. Check existing addon state management to handle upgrade action. Review comments on the issue for any additional context or constraints.