update app.py file