Update localStorage