modify redis data struct