update api path