added ability to update material
ssss