...
Your site should automatically pick up this latest app version. If you would like to make sure, go to Settings → Manage apps → Developer Statistics for Confluence and confirm the listed version is 45.40.0.
Download One-to-One Analytics for Confluence on the Atlassian Marketplace
...