Update localstorage.as