Update example code format