edited uid method