update templates for c files