update raytracer model