update the flow-library example.