update api to latest redis docs