corrected localstorage incorrect update key