improve relation map