migrate flow manager