Updated the LED writer