Update version and maxVersion