Update Ancestortype.php