update buildtools, add src-templates options in config files