test for version update before updating