Update localstorage.php