Update the sample app
Format code