Updated flex