updated api method order