modify material provider