add covariate on trait/edit