Update material.c