api modification