update version refactoring