Update sample_code.