Respect CheckUpdates option

Add code to respect the CheckUpdates option.