automatically update version in dist versions