factory Store modify to match IndexDbStore api change