Update example codes of LSM