updated localstorage