update list compare method