update buildtools scripts, api-reference.md