updating the list of lists