change id to uid