finished updating material parameters