store settings with version number