updates SampleApp