add rel property to model