add relationships generagter