Updates to localstorage