update lights and bg