Updated Nice api usage