update textures for material