add relation tree