Update flask path.