Update code samples.