Update using of localStorage