Material writer updated