changing model for relational