updating invalid links