formatting and updating broken links