updates link reference