Updates to localstorage.