update checkversion script