Update version to valid format