change parent_ids from list to tuple (immutable)