Updated the api doc