Updating the flow method