Cordova Refresh

Has anyone found a way to tackle the issue regarding reloading the app after it loads the old version? Why does it do that?