update cli to match api