append relations in order