Updated api definition