update Remove Duplicates from Sorted Array