save object in redis