Changed the way version is updated