Update sample programs