updated the API doc