update json name attribute for domain