[Update] localStorage sample