Fix mistake in autoupdate