added project foreign key to subprojects