add person relation code