Update flow.h