Update sample application.