Update lights.R