update light sample