Fixed redis and add callbacks