working update dates in app.py