updated the sample app