change uid method