update api extract script and official policy