add model relationship and fixed table homes,projects