support localstorage diff