update get_by_uuid function