Updated the api design document