Added functions for updating subsets of light arrays