change the flow to newer version