Update lightsource.cpp