added redis changes