Update sample program