Check if version from repository is newer before updating