updates bad link reference