change set_domain_status function