Updating sample programs