Updated api related commands