Update sampleapp