Update Counting Sort