add relationships in persistence classes