Matomo TagManager issue after upgrade

Hi Guys - We upgraded from 3.7 to 4.2. Getting below issues with TagManager, need help in troubleshooting!
The plugin TagManager could not be loaded as it has missing dependencies: TagManager requires Piwik <4.0.0-b1. Please contact your Matomo administrator.
How do we fix this?