fixed small bug with version updating