updating lights arduino code