migrate relations to ui-select