Update API documents model to get data from API.