updated light class