Updates flask_app to provide it with generic database url