update sample app to apply new feature