Update example code for 0.3.7