Occ method to upgrade twofactor_totp?

When upgrading from NextCloud version 13 to 14 using occ, the upgrade process disables the official twofactor_totp app as incompatible. I am then having trouble finding any method using occ to re-enable the app. Instead, it seems like the currently intended solution is to login to NextCloud and upgrade the app using a web browser. For anyone trying to support multiple instances of NextCloud, this can be somewhat of a hassle in comparison being able to script out the upgrades as a series of occ commands.

My looking around for a solution has lead me to an Owncloud occ command of market:upgrade to update a specific app version from the command line. But I am having trouble finding any equivalent for Nextcloud.

Any help would be greatly appreciated!

Thanks