Update the feature detection code.