[addTemplate] modify the build update