Added Check for new version function