Apps.json version not updating

I initially installed India_compliance (develop branch), and installed it in on a site.

After that, I uninstalled it from the site by bench uninstall-app command and then removed the apps/india_compliance app as I wanted to have a different version on the site.

So I get-app again, and then installed in on my site.

But my apps.json was not updated, it still shows version : 16.0.0-dev

How to fix this?

the default version is 16.0.0-dev

use below command to get the desired version

bench get-app https://github.com/resilient-tech/india-compliance.git --branch version-15

@mohitchechani Please read once what I said above, I have no trouble installing a specified version, but I have trouble in updating the version in apps.json file, though everything seems to work perfect after I am getting the desired version, but how to update in apps.json in the background while updating it.