changing process_link to return a broken link status as well as the new links