updated flex dependency