update CNAME and index