updating the lists