updated flowEditor to delete static flows