Update code samples to look better on the slides