update light.js