Update Remove Duplicates without using Extra Space