update script material data