refactor redis store