Correction to update collections code last value