add object to redis