updated the addMaterial page