update optics/refraction