add method to get new version from server