rename api method