fix: it didn't update when empty localStorage