update sample app to do crud ops