Update doc and fix logic bugs with minver checking