improved unit relation interface of models