updated flowEditor