Update materials.py