expose flow object to mutate function
Merge pull request #501 from tsdeng/feature/mutateFlowObj

expose flow object to mutate function