updating lighting