create/edit reference code and domain