Update localstorage