added support for new version file format

kept backwards compatibility with client not updated yet
more transition stuff for version file format

Allow at most 1 version to be in both y_data and updates