update localstorage adaptor