update api location for caritps.html