Update materials.