update light tracing