update example to run sample app