Updating the flow