change redis data structure