update CNAME and header