Update local storage script