Updated the socket io to add Redis functionality