update source code template