add type_ field for UI to generate correct link