Change UID&Doc struct