sample app updated