light update to remove obsolete code