modify client api