refactoring versions in demo