updated flowEditor to push flows