fix updating - iterate through the whole list