updated models for relations