Update example codes