Update code example. Fix history entry