More example code updates