Update to material flow