updated the api with more info