changed how versions are stored