updated sample app demo