updated files to manage links and tags 1