Updated api with new records and proper output.