edit ref link