fixed CRUD functionality to search by UID