add setting API