Update flow.groovy