Fixed the version updating