updates cname and remove content