add edge type in relation tag