Updating uids.