update material.side