update links after loading from localStorage on page load