change the API options