Confused about versioning system

Hi everyone
Sorry to post about this, but I’m completely lost in the versioning system used by Ionic.
I have a Ionic 1 app, I did something like npm update and bower update.
Now here is the output of ionic info:

Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20

I am confused by the fact that it says Ionic Framework 1.3 but Ionic App Lib 2.0.0-beta
Also I got some warning about the fact that bower is being deprecated in favour of npm.

How can I roll back to stable ?
Thanks for your help