handling redis events