api improve